
package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.FoodStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodStockMapper {
    public FoodStock selectRestaurantStoreResource(FoodStock resource);

    public List<FoodStock> selectRestaurantStoreResourceList(FoodStock resource);

    public List<FoodStock> selectLatestResourceList(FoodStock resource);

    public FoodStock selectRestaurantStoreResourceById(Long id);

    public List<FoodStock> selectRestaurantStoreResourceByIds(@Param("ids") List<Long> ids);

    public int insertRestaurantStoreResource(FoodStock resource);

    public int updateRestaurantStoreResource(FoodStock resource);

    public int deleteRestaurantStoreResourceById(Long id);

    public int deleteRestaurantStoreResourceByIds(List<Long> ids);

    List<FoodStock> selectRestaurantStoreResourceListByStock(FoodStock query);

    List<FoodStock> selectRestaurantStoreResourceListByStockOne(FoodStock query);
}
